package com.org.form;

import javax.validation.constraints.NotNull;

/**
 * date: 2022/10/29 21:01
 * @author admin
 */
public class AgreementInfoForm {

	@NotNull(message = "协议编号不能为空", groups = {QueryAgreement.class, AddAgreement.class})
	private String agreementNo;

	private String version;

	@NotNull(message = "协议标题不能为空", groups = {AddAgreement.class})
	private String title;

	@NotNull(message = "协议内容不能为空", groups = {AddAgreement.class})
	private String content;

	@NotNull(message = "协议类型不能为空", groups = {AddAgreement.class})
	private String agreementType;



	public String getAgreementNo() {
		return agreementNo;
	}

	public void setAgreementNo(String agreementNo) {
		this.agreementNo = agreementNo;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getAgreementType() {
		return agreementType;
	}

	public void setAgreementType(String agreementType) {
		this.agreementType = agreementType;
	}

	public interface QueryAgreement {}

	public interface AddAgreement {}
}
